package org.neuedu.fly.mapper;

import org.apache.ibatis.annotations.Param;
import org.neuedu.fly.entity.Sign;

import java.util.Date;

public interface SignMapper {
    boolean del(int uId);

    Sign findSignById(@Param("uId") int uId, @Param("nowDate") Date nowDate);

    boolean update(Sign newSign);

    boolean insert(Sign sign);

    boolean signKiss(@Param("userId") int userId,
                     @Param("kiss") int kiss);
}
